<template>
  <div>
    <el-table
      :header-cell-style="{
        color: '#fff',
        background: '#6090EC',
        fontSize: '11px',
        fontWeight: 'normal',
      }"
      :data="message"
      border
      size="mini"
    >
      <el-table-column prop="orderId" label="订单号"> </el-table-column>
      <el-table-column prop="passengerName" label="乘机人"> </el-table-column>
        <el-table-column prop="pnr" label="PNR/记录编码">
           </el-table-column>
 <el-table-column prop="ticketsNum" label="订单票量">
        </el-table-column>
      <el-table-column label="航程">
        <template slot-scope="scope">
          <div>
            {{ scope.row.goSegment }}
          </div>
          <div>
            {{ scope.row.backSegment ? scope.row.backSegment : "" }}
          </div>
        </template>
      </el-table-column>
      <el-table-column prop="goDepartureTime" label="起飞时间">
      </el-table-column>
      <el-table-column prop="goFlightNo" label="航班号"> </el-table-column>
      <el-table-column prop="createTime" label="下单时间"> </el-table-column>
      <el-table-column prop="orderStatus" label="订单状态">
        <template slot-scope="scope">
          {{scope.row.orderStatus | orderStatus}}
        </template>
      </el-table-column>
      <el-table-column prop="payStatus" label="支付状态">
        <template slot-scope="scope">
           {{scope.row.payStatus | payStatus}}
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  props: ["message"],

  data() {
    return {};
  },
  methods: {},
  mounted() {},
};
</script>

<style scoped>
</style>